package cn.kimming.wms.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import cn.kimming.wms.dao.IOrderBillDAO;
import cn.kimming.wms.domain.OrderBill;

@Repository("orderBillDAO")
public class OrderBillDAOImpl extends GenericDAOImpl<OrderBill> implements IOrderBillDAO{

	@Override
	public List<OrderBill> listBySupplierId(Long supplierId) {
		return queryForList("obj.supplier.id = ?", supplierId);
	}
	
}
